<aside>
          <div id="sidebar"  class="nav-collapse">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu">
                  <li class="active" id="home">
                      <a class="" href="${ctx}/admin/home/index.html">
                          <i class="icon-dashboard"></i>
                          <span>导航栏</span>
                      </a>
                  </li>
                  <li class="sub-menu" id="article">
                      <@privUrlTag code="E001">
                      <a href="javascript:;" class="">
                          <i class="icon-book"></i>
                          <span>文章管理</span>
                          <span class="arrow"></span>
                      </a>
                      </@privUrlTag>
                      <ul class="sub">
                      	  <@privUrlTag code="E00111">
                          <li id="article_me"><a href="${ctx}/admin/article/mylist.html">我的文章</a></li>
                          </@privUrlTag>
                      	  <@privUrlTag code="E00101">
                          <li id="article_all"><a href="${ctx}/admin/article/list.html">全部文章</a></li>
                          </@privUrlTag>
                      </ul>
                  </li>
                  <li class="sub-menu" id="comment">
                      <@privUrlTag code="D001">
                      <a href="javascript:;" class="">
                          <i class="icon-comments"></i>
                          <span>评论管理</span>
                          <span class="arrow"></span>
                      </a>
                      </@privUrlTag>
                      <ul class="sub">
                      	  <@privUrlTag code="D00101">
                          <li id="comment_me"><a href="${ctx}/admin/comment/index.html" >我的评论</a></li>
	                      </@privUrlTag>
                      	  <@privUrlTag code="D00111">
                          <li id="comment_all"><a href="${ctx}/admin/comment/list.html">全部评论</a></li>
	                      </@privUrlTag>
                      </ul>
                  </li>
                  <li class="sub-menu" id="setting">
                      <@privUrlTag code="C001">
                      <a href="javascript:;" class="">
                          <i class="icon-cogs"></i>
                          <span>系统设置</span>
                          <span class="arrow"></span>
                      </a>
                      </@privUrlTag>
                      <ul class="sub">
                          <li><a class="" href="grids.html">Grids</a></li>
                          <li><a class="" href="calendar.html">Calendar</a></li>
                          <li><a class="" href="charts.html">Charts</a></li>
                      </ul>
                  </li>
                  <li class="sub-menu" id="jurisdiction">
                  	  <@privUrlTag code="B001">
                      <a href="javascript:;" class="">
                          <i class="icon-tasks"></i>
                          <span>权限管理</span>
                          <span class="arrow"></span>
                      </a>
                      </@privUrlTag>
                      <ul class="sub">
                      	  <@privUrlTag code="B00101">
                          <li id="role"><a href="${ctx}/admin/role/list.html">角色</a></li>
                          </@privUrlTag>
                      	  <@privUrlTag code="B00111">
                          <li id="jurisdiction_list"><a href="${ctx}/admin/jur/list.html">权限</a></li>
                          </@privUrlTag>
                      </ul>
                  </li>
                  <!-- 标签库 -->
                  <li class="sub-menu" id="tag">
                      <@privUrlTag code="F001">
                          <a href="javascript:;" class="">
                              <i class="icon-tasks"></i>
                              <span>标签管理</span>
                              <span class="arrow"></span>
                          </a>
                      </@privUrlTag>
                      <ul class="sub">
                          <@privUrlTag code="F00101">
                              <li id="tagList"><a href="${ctx}/admin/tag/list.html">标签</a></li>
                          </@privUrlTag>
                      </ul>
                  </li>

                  <li class="sub-menu" id="author">
                  	<@privUrlTag code="A001">
                      <a href="javascript:;" class="">
                          <i class="icon-user"></i>
                          <span>信息管理</span>
                          <span class="arrow"></span>
                      </a>
                      </@privUrlTag>
                      <ul class="sub">
                          <@privUrlTag code="A00101">
                          <li id="author_info"><a class="" href="${ctx}/admin/author/list.html">我的信息</a></li>
                          </@privUrlTag>
                      </ul>
                  </li>
              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
<script src="${ctx}/js/jquery.js" type="text/javascript"></script>     
<script type="text/javascript">
$(function(){
	$("#sidebar").find("li").removeClass("active");
	$("#${(sidebarId)}").addClass("active");
	$("#${(subSidebarId)}").addClass("active");

});
</script>